﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Emgu.CV;
using Emgu.CV.Structure;
using Emgu.CV.GPU;
using Emgu.CV.UI;
using Emgu.CV.ML;
using System.Drawing;
using FaceRecognition.View;
namespace FaceRecognition
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.D:\FP_SVN\MyProject\FaceRecognition\FaceRecognition\Settings.StyleCop
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //  Application.Run(new Form_Training(45));
            Application.Run(new Form_Login());
        //   Application.Run(new Test());
            //ImageViewer viewer = new ImageViewer(); //create an image viewer
            //Capture capture = new Capture(); //create a camera captue
            //Application.Idle += new EventHandler(delegate(object sender, EventArgs e)
            //{  //run this until application closed (close button click on image viewer)
            //    viewer.Image = capture.QueryFrame(); //draw the image obtained from camera
            //});
            //viewer.ShowDialog(); //show the image viewer
        }
    }
}
